<?php
switch ($_REQUEST['request']['action']) {
    case 'view':
        include_once BASEURL.'web/photo/view.php';
        break;
    case 'edit':
        include_once BASEURL.'web/photo/edit/layout.php';
        break;
    case 'add':
        include_once BASEURL.'web/photo/add.php';
        break;
case 'delete':
        include_once BASEURL.'web/photo/delete.php';
        break;
    case 'edit':
        include_once BASEURL.'web/photo/edit.php';
        break;
    default:
        include_once BASEURL.'web/photo/view.php';
        break;
}
?>
